import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
    //访问方式：this.$store.state.XXX
    state: {
        userId: '',
        userName: '',
        userImg: '',
        userStatus: true,
    },
    mutations: {},
    actions: {},
    modules: {}
});
